<!DOCTYPE html>
<html>
<head>
<title>维护页面</title>
<script type="text/javascript">
function popAddOrModify(id) {
    var data = {};
    var url = '${absoluteContextPath}/vip/vipXxb';
    if (id != undefined) {
        data.id = id;
        url = url + "/goEdit";
    } else {
        url = url + "/goAdd";
    }
    $.ajax({
        url: url,
        type: 'post',
        data: data,
        success: function (data) {
            var data = JSON.parse(data);
            if (data.returnCode == 1) {
                var pop_div = $('#myModal');
                pop_div.html(data.content.data);
                pop_div.modal('show');
            } else {
                $.showMessage({parentId: "showMessage", message: "数据加载异常！", type: "success"});
            }
        }
    });
}

function deleteVipXxb() {
    var i = 0;
    $("input[name=ids]").each(function () {
        if ($(this).prop("checked")) {
            i++;
        }
    });
    if (i == 0) {
        $.showMessage({parentId: "showMessage", message: "请选择您要删除的记录！", type: "success"});
        return false;
    } else {
        $.confirm({
            confirm: function () {
                var values = "";
                $("input[name=ids]").each(function () {
                    if ($(this).prop("checked")) {
                        values += $(this).val() + ",";
                    }
                });
                $("#confirmModal").modal("hide");
                $.post("${absoluteContextPath}/vip/vipXxb/delete", {
                    'ids': values
                }, function (data) {
                    data = JSON.parse(data);
                    if (data.returnCode == 1) {
                        $.showMessage({parentId: "showMessage", message: "数据删除成功！", type: "success"});
                        refreshTable();
                    } else {
                        $.showMessage({parentId: "showMessage", message: "数据删除异常！", type: "error"});
                    }
                });
            }
        });
    }
}

function refreshTable() {
    $("input[name=currentPage]").val(1);
    $("#search_vipXxb_table").ajaxSubmit({
        url: '${absoluteContextPath}/vip/vipXxb/ajaxList',
        success: function (data) {
            var data = JSON.parse(data);
            if (data.returnCode == 1) {
                $("#tableContent").html(data.content.data);
            } else {
                $.showMessage({parentId: "showMessage", message: "表格数据加载异常！", type: "success"});
            }
        }
    });
}

//选择卡别
function dorefreshVip(cardno, target) {

    var data = {};
    var url = '${absoluteContextPath}/vip/vipXzb';
    data.cardno = cardno;
    url = url + "/dorefreshVip";
    $.ajax({
        url: url,
        type: 'post',
        data: data,
        success: function (data) {
            var data = JSON.parse(data);
            if (data.returnCode == 1) {
                var pop_div = $('#myModal2');
                pop_div.html(data.content.data);
                pop_div.modal('show');
                $(pop_div).find("#confirm").click(function () {
                    var id = $("#selectCardno").val();
                    var name = $("#selectPackageName").val();
                    $(target).parent().find("input[name=cardno]").val(id);
                    $(target).parent().find("input[name=packageName2]").val(name);
                    $('#myModal2').modal("hide");
                    funXh(id, name);
                });
            } else {
                $.showMessage({parentId: "errorMessage", message: "数据加载异常！", type: "success"});
            }
        }
    });
}

//详情
function popView(id) {

    var data = {};
    var url = '${absoluteContextPath}/vip/vipXxb';
    if (id != undefined) {
        data.id = id;
        url = url + "/goView/" + id;
    } else {
        return;
    }
    $("#search_vipXxb_table").attr("action", url);
    $("#search_vipXxb_table").submit();
}
function doDownLoadTemplate() {
    $("#Form_Download").submit();
}


//        导入
$(function () {
    $("#importCustBtn").click(function () {
        $("#custUploadForm input[type=file]").click();
    });

    $("#custUploadForm input[name=file]").live("change", function () {
        $("#custUploadForm").ajaxSubmit({
            success: function (data) {
                importCustSuccess(data);
            }
        });
    });
});
function importCustSuccess(data) {
    var result = JSON.parse(data);
    if (result.returnCode == 1) {
        var url = "${absoluteContextPath}/vip/vipXxb/importVip";
        var path = result.content;
        $.ajax({
            url: url,
            type: 'post',
            data: {path: path},
            success: function (msg) {
                refreshTable();
                msg = JSON.parse(msg);
                var pop_div = $('#errorMessage');
                var message = "";
                var texts = {};
                texts = msg.returnMsg.split("!");
                for (var r = 0; r < texts.length; r++) {
                    if (r < texts.length - 1) {
                        message += (texts[r] + "!<br>");
                    } else {
                        message += (texts[r]);
                    }
                }
                $("#info").html(message);
                pop_div.modal('show');
                $("input[name=file]").val(null);

            }
        });
    } else {
        $.showMessage({parentId: "showMessage", message: "<strong>错误信息</strong>：" + result.returnMsg, type: "error"});
    }
}

$(function () {
    $("input[name=startTime]").focus(function () {
        WdatePicker({dateFmt: 'yyyy-MM-dd'});
    })
    $("input[name=startEnd]").focus(function () {
        WdatePicker({dateFmt: 'yyyy-MM-dd'});
    })
    $("input[name=endTime]").focus(function () {
        WdatePicker({dateFmt: 'yyyy-MM-dd'});
    })
    $("input[name=endEnd]").focus(function () {
        WdatePicker({dateFmt: 'yyyy-MM-dd'});
    })
    $("div[class='tooltip fade top in']").hide();
});

function popExportExcel() {
    $("#search_vipXxb_table").attr('action', '${absoluteContextPath}/vip/vipXxb/export');
    $("#search_vipXxb_table").submit();
    $("#search_vipXxb_table").attr('action', '${absoluteContextPath}/vip/vipXxb/list');
}


function hsbCheck() {
    var data = {};
    var url = '${absoluteContextPath}/vip/vipXxb';
    url = url + "/goCheck";
    $.ajax({
        url: url,
        type: 'post',
        data: data,
        success: function (data) {
            var data = JSON.parse(data);
            if (data.returnCode == 1) {
//                   console.info(data);
                refreshTable();

            } else {
                $.showMessage({parentId: "showMessage", message: "数据加载异常！", type: "success"});
            }
        }
    });
}
</script>
</head>
<body>

<div class="breadcrumbs">
    <ol class="breadcrumb">
        <li><a href="${absoluteContextPath}/home"><i class="fa fa-home"></i>首页</a></li>
        <li><a href="#">会员</a></li>
        <li class="active">会员一览表</li>
    </ol>
</div>

<div class="main">
<!-- row -->
<div class="row">
<div class="col-md-12">
<section class="tile">
<!-- tile body -->
<div class="tile-body">
<div id="showMessage"><#include "../../message.ftl" /></div>
<div class="form-horizontal">
<form id="search_vipXxb_table" action="${absoluteContextPath}/vip/vipXxb/list" method="post">
<input type="hidden" name="pageSize" value="${vipXxbsTable.page.pageSize}"/>
<input type="hidden" name="currentPage" value="${vipXxbsTable.page.currentPage}"/>


<div class="row">

    <div class="form-group col-md-4">
        <label class="col-sm-4 control-label" for="exampleInputEmail2">身份证号</label>

        <div class="col-sm-8">
            <input class="form-control" name="cardno" value="${vipXxbParams.cardno!''}" placeholder="" type="text">
        </div>
    </div>
    <div class="form-group col-md-4">
        <label class="col-sm-4 control-label" for="exampleInputEmail2">姓名</label>

        <div class="col-sm-8">
            <input class="form-control" name="clientName" value="${vipXxbParams.clientName!''}" placeholder=""
                   type="text">
        </div>

    </div>
    <div class="form-group col-md-4">
        <label class="col-sm-4 control-label" for="exampleInputEmail2">联系电话</label>

        <div class="col-sm-8">
            <input class="form-control" name="mobile" value="${vipXxbParams.mobile!''}" placeholder="" type="text">
        </div>
    </div>
</div>
<div class="row">
    <div class="form-group col-md-4">
        <label class="col-sm-4 control-label" for="exampleInputEmail2">开始日期</label>

        <div class="col-sm-8">
            <input class="form-control" name="startTime" value="${vipXxbParams.startTime!''}" placeholder=""
                   type="text">
        </div>
    </div>
    <div class="form-group col-md-4">
        <label class="col-sm-4 control-label" for="exampleInputEmail2">----</label>

        <div class="col-sm-8">
            <input class="form-control" name="startEnd" value="${vipXxbParams.startEnd!''}" placeholder="" type="text">
        </div>
    </div>
    <div class="form-group col-md-4">
        <label class="col-sm-4 control-label" for="exampleInputEmail2">卡别</label>

        <div class="col-sm-8">
            <input class="form-control" name="packageName" value="${vipXxbParams.packageName!''}" placeholder=""
                   type="text">
        </div>
    </div>
</div>
<div class="row">

    <div class="form-group col-md-4">
        <label class="col-sm-4 control-label" for="exampleInputEmail2">结束日期</label>

        <div class="col-sm-8">
            <input class="form-control" name="endTime" value="${vipXxbParams.endTime!''}" placeholder="" type="text">
        </div>
    </div>
    <div class="form-group col-md-4">
        <label class="col-sm-4 control-label" for="exampleInputEmail2">----</label>

        <div class="col-sm-8">
            <input class="form-control" name="endEnd" value="${vipXxbParams.endEnd!''}" placeholder="" type="text">
        </div>
    </div>
    <div class="form-group col-md-4">
        <label class="col-sm-4 control-label" for="exampleInputEmail2">会员档案号</label>

        <div class="col-sm-8">
            <input class="form-control" name="vipId" value="${vipXxbParams.vipId!''}" placeholder="" type="text">
        </div>
    </div>
</div>
<div class="row">
    <div class="form-group col-md-4">
        <label class="col-sm-4 control-label" for="exampleInputEmail2">体检卡号</label>

        <div class="col-sm-8">
            <input class="form-control" name="tjId" value="${vipXxbParams.tjId!''}" placeholder="" type="text">
        </div>
    </div>
    <div class="form-group col-md-4">
        <label class="col-sm-4 control-label" for="exampleInputEmail2">门诊ID号</label>

        <div class="col-sm-8">
            <input class="form-control" name="mzId" value="${vipXxbParams.mzId!''}" placeholder="" type="text">
        </div>
    </div>
    <div class="form-group col-md-4">
        <label class="col-sm-4 control-label" for="exampleInputEmail2">分管人</label>

        <div class="col-sm-8">
            <input class="form-control" name="fgrDoctor" value="${vipXxbParams.fgrDoctor!''}" placeholder=""
                   type="text">
        </div>
    </div>
</div>
<#--<div class="form-group col-md-4">-->
<#--<label class="col-sm-4 control-label" for="exampleInputEmail2">希和客户ID</label>-->

<#--<div class="col-sm-8">-->
<#--<input class="form-control" name="clientNo" value="${vipXxbParams.clientNo!''}" placeholder="" type="text">-->
<#--</div>-->
<#--</div>-->

<#-- <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">阿米巴客户ID</label>
         <div class="col-sm-8">
             <input class="form-control" name="ambId" value="${vipXxbParams.ambId!''}" placeholder="" type="text">
         </div>
     </div>


 </div>
 <div class="row">


     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">卡别金额</label>
         <div class="col-sm-8">
             <input class="form-control" name="packagePrice" value="${vipXxbParams.packagePrice!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">


 </div>
 <div class="row">

     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">主要问题</label>
         <div class="col-sm-8">
             <input class="form-control" name="problem" value="${vipXxbParams.problem!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">地址所属区域</label>
         <div class="col-sm-8">
             <input class="form-control" name="address" value="${vipXxbParams.address!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">应上门次数</label>
         <div class="col-sm-8">
             <input class="form-control" name="zgDoor" value="${vipXxbParams.zgDoor!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">余上门次数</label>
         <div class="col-sm-8">
             <input class="form-control" name="syDoor" value="${vipXxbParams.syDoor!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">最近见面时间</label>
         <div class="col-sm-8">
             <input class="form-control" name="meetTime" value="${vipXxbParams.meetTime!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">最近联系时间及方式</label>
         <div class="col-sm-8">
             <input class="form-control" name="meetType" value="${vipXxbParams.meetType!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">入会需求</label>
         <div class="col-sm-8">
             <input class="form-control" name="requirements" value="${vipXxbParams.requirements!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">首次入会日期</label>
         <div class="col-sm-8">
             <input class="form-control" name="firstTime" value="${vipXxbParams.firstTime!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">分管人</label>
         <div class="col-sm-8">
             <input class="form-control" name="fgrDoctor" value="${vipXxbParams.fgrDoctor!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">促会医生</label>
         <div class="col-sm-8">
             <input class="form-control" name="promoteDoctor" value="${vipXxbParams.promoteDoctor!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">配合度</label>
         <div class="col-sm-8">
             <input class="form-control" name="cooperationDegree" value="${vipXxbParams.cooperationDegree!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">入会时用药</label>
         <div class="col-sm-8">
             <input class="form-control" name="medication" value="${vipXxbParams.medication!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">入会时药量</label>
         <div class="col-sm-8">
             <input class="form-control" name="drug" value="${vipXxbParams.drug!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">入会时主观感受</label>
         <div class="col-sm-8">
             <input class="form-control" name="feel" value="${vipXxbParams.feel!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">入会时体检日期</label>
         <div class="col-sm-8">
             <input class="form-control" name="tjDate" value="${vipXxbParams.tjDate!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">入会时体检预约号</label>
         <div class="col-sm-8">
             <input class="form-control" name="firstReport" value="${vipXxbParams.firstReport!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">副会</label>
         <div class="col-sm-8">
             <input class="form-control" name="vice" value="${vipXxbParams.vice!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">性别</label>
         <div class="col-sm-8">
             <input class="form-control" name="asgender" value="${vipXxbParams.asgender!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">应急联系人</label>
         <div class="col-sm-8">
             <input class="form-control" name="contactName" value="${vipXxbParams.contactName!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">应急联系电话</label>
         <div class="col-sm-8">
             <input class="form-control" name="contactPhone" value="${vipXxbParams.contactPhone!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">详细地址</label>
         <div class="col-sm-8">
             <input class="form-control" name="detailedAddress" value="${vipXxbParams.detailedAddress!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">档案盒资料</label>
         <div class="col-sm-8">
             <input class="form-control" name="box" value="${vipXxbParams.box!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">适合联系时间</label>
         <div class="col-sm-8">
             <input class="form-control" name="contactTime" value="${vipXxbParams.contactTime!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">备注</label>
         <div class="col-sm-8">
             <input class="form-control" name="note" value="${vipXxbParams.note!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">会员转接记录</label>
         <div class="col-sm-8">
             <input class="form-control" name="transferRecord" value="${vipXxbParams.transferRecord!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">转接注意事项</label>
         <div class="col-sm-8">
             <input class="form-control" name="transferAttention" value="${vipXxbParams.transferAttention!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">可能转卡类</label>
         <div class="col-sm-8">
             <input class="form-control" name="turnCard" value="${vipXxbParams.turnCard!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">会员续会概率</label>
         <div class="col-sm-8">
             <input class="form-control" name="probability" value="${vipXxbParams.probability!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">管理后药量</label>
         <div class="col-sm-8">
             <input class="form-control" name="dosage" value="${vipXxbParams.dosage!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">管理后主观感受</label>
         <div class="col-sm-8">
             <input class="form-control" name="afterFeeling" value="${vipXxbParams.afterFeeling!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">管理期最后一次体检日期</label>
         <div class="col-sm-8">
             <input class="form-control" name="lastDate" value="${vipXxbParams.lastDate!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2">管理期最后一次体检预约号</label>
         <div class="col-sm-8">
             <input class="form-control" name="lastReport" value="${vipXxbParams.lastReport!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2"></label>
         <div class="col-sm-8">
             <input class="form-control" name="obligateA" value="${vipXxbParams.obligateA!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2"></label>
         <div class="col-sm-8">
             <input class="form-control" name="obligateB" value="${vipXxbParams.obligateB!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2"></label>
         <div class="col-sm-8">
             <input class="form-control" name="obligateC" value="${vipXxbParams.obligateC!''}" placeholder="" type="text">
         </div>
     </div>
 </div>
 <div class="row">
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2"></label>
         <div class="col-sm-8">
             <input class="form-control" name="obligateD" value="${vipXxbParams.obligateD!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2"></label>
         <div class="col-sm-8">
             <input class="form-control" name="creatTime" value="${vipXxbParams.creatTime!''}" placeholder="" type="text">
         </div>
     </div>
     <div class="form-group col-md-4">
         <label class="col-sm-4 control-label" for="exampleInputEmail2"></label>
         <div class="col-sm-8">
             <input class="form-control" name="creatName" value="${vipXxbParams.creatName!''}" placeholder="" type="text">
         </div>
     </div>
 </div>-->
<div class="row">
    <div class="form-group col-md-4">
        <label class="col-sm-4"></label>

        <div class="col-sm-8">
            <button type="button" class="btn btn-primary" onclick="refreshTable()">查询</button>
            <button type="reset" class="btn btn-default">重置</button>
        </div>
    </div>
</div>
</form>
</div>
</div>
</section>
<section class="tile">
    <div class="tile-header">
        <h1>
            <button type="button" class="btn btn-green" onclick="popAddOrModify();"><i class="fa fa-plus"></i><span
                    class="margin-left-5">新增</span></button>
            <button type="button" class="btn btn-cyan" onclick="deleteVipXxb();"><i class="fa fa-trash-o"></i><span
                    class="margin-left-5">删除</span></button>
            <button id="importCustBtn" type="button" class="btn btn-cyan"><i
                    class="fa fa-arrow-circle-o-down"></i><span class="margin-left-5">导入模板</span>
            </button>
            <button type="button" class="btn  btn-primary" onclick="doDownLoadTemplate();"><i
                    class="fa fa-download"></i><span class="margin-left-5">导入模板下载</span></button>
            <button type="button" class="btn btn-green" onclick="popExportExcel();"><i
                    class="fa fa-plus"></i><span class="margin-left-5">导出</span></button>

            <button type="button" class="btn btn-red" onclick="hsbCheck()">更新
            </button>
        </h1>
    </div>

    <div class="tile-body nopadding">
        <div class="table-responsive" id="tableContent">
        <#include "table.ftl"/>
        </div>
    </div>
</section>
</div>
</div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
</div>
<div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
</div>
<form id="Form_Download" action="${absoluteContextPath}/vip/vipXxb/downloadTemplate" method="post"
      style="display: none">
    <input name="serverFileName" type="hidden" value="VipDownload.xlsx"/>
    <!-- 下载潜在客户导入模板 -->
    <input name="clientFileName" type="hidden" value="会员一览表.xlsx"/>
    <!-- 下载潜在客户导入模板 -->
</form>
<form id="custUploadForm" method="post" enctype="multipart/form-data"
      action="${absoluteContextPath}/upload/ajax" style="display: none">
    <input type="file" name="file"/>
    <input type="text" name="fileType" value="xlsx">
</form>
<div class="modal fade" id="errorMessage" tabindex="-1" role="dialog" aria-labelledby="cardCode04"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">导入提示</h4>
            </div>
            <div class="modal-body">
                <div id="info"></div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
</div>
</div>
</body>
</html>
